package com.huidu.bitrade.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.huidu.bitrade.constant.BusinessLevelEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BusinessDepositStrategyVo {

    @ApiModelProperty("保证金id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long businessAuthDepositId;

    @ApiModelProperty("所需数额")
    private BigDecimal amount;

    @ApiModelProperty("还需数额")
    private BigDecimal residueAmount;

    @ApiModelProperty("账户CNHD余额")
    private BigDecimal balance;

    @ApiModelProperty("每日限额")
    private BigDecimal dailyAmount;

    @ApiModelProperty("1.黄金2.铂金3.钻石")
    private BusinessLevelEnum businessLevelEnum;
}
